move XENMEM_add_to_physmap_range handling framework to common code
authorJan Beulich <jbeulich@suse.com>
Fri, 20 Dec 2013 11:01:44 +0000 (12:01 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Dec 2013 11:01:44 +0000 (12:01 +0100)
commit0627c56cb6ff61e197da75c6958fff3b43159237
treeb69a81658dce968a3d6bc549acfdcd8320fb870b
parentade868939fe06520bb946dad740e1f3f1c12ea82
move XENMEM_add_to_physmap_range handling framework to common code

There's really nothing really architecture specific here; the
architecture specific handling is limited to
xenmem_add_to_physmap_one().

This further eliminates the erroneous bailing from
xenmem_add_to_physmap_range() if xenmem_add_to_physmap_one() fails.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/mm.c
xen/common/memory.c